<?php

App::uses('AppModel', 'Model');

class Config extends AppModel {

    var $name = 'Config';

    public function save($data = null,$validate = true, $fieldList = array()) {
        $s = $this->sanitize($data);
        return parent::save($s);
    }

    public function get($key) {
        $config = $this->find('first');
        
        return $config['Config'][$key];
    }
}